Using Integrity Constraints to Provide Intensional Answers to Relational Queries

نویسنده

  • Amihai Motro
چکیده

An intensionalanswer to a query is a set of characterizations of the set of database values that satisfy the query (the extensional answer). Intensional answers provide users with additional insight into the nature of standard extensional answers. In this paper we describe a method that applies database constraints to generate intensional answers. These intensional answers characterize the extensional answers in two ways: (1) with constraints that are applicable to the extensional answer, and (2) with database views that are contained entirely in the extensional answer. Our method is to represent the definitions of constraints in special “meta-relations”, and extend standard algebraic operators to these relations. When a query is presented to the database system, it is performed both on the actual relations, resulting in an extensional answer, and on the meta-relations, resulting in definitions of constraints that apply to the extensional answer, as well as database views that are contained entirely in the extensional answer. These definitions are translated into an intensional answer that accompanies the extensional answer.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Intensional Answers to Database Queries

In addition to data, database systems store various on keys, integrity constraints, class hierarchies), are often kinds of information about their data. Examples are class hierarchies, to define the various data classes and their relationships; assumed as well, but little else is assumed. integrity constraints, to state required relationships among the Notable examples of this approach are the ...

متن کامل

Controlled Generation of Intensional Answers

Intensional answers are conditions that tuples of values must satisfy to belong to the usual extensional answer of a query addressed to a deductive database. This paper motivates the concept of intensional answers and introduces a general method for generating them as logical consequences of the query and of deduction rules. It then shows liow integrity constraints can filter out inadequate ans...

متن کامل

Consistent Query Answers on Numerical Databases Under Aggregate Constraints

The problem of extracting consistent information from relational databases violating integrity constraints on numerical data is addressed. In particular, aggregate constraints defined as linear inequalities on aggregate-sum queries on input data are considered. The notion of repair as consistent set of updates at attributevalue level is exploited, and the characterization of several complexity ...

متن کامل

Characterizing and Computing Semantically Correct Answers from Databases with Annotated Logic and Answer Sets

A relational database may not satisfy certain integrity constraints (ICs) for several reasons. However most likely most of the information in it is still consistent with the ICs. The answers to queries that are consistent with the ICs can be considered sematically correct answers, and are characterized [2] as ordinary answers that can be obtained from every minimally repaired version of the dat...

متن کامل

Implementing Query Rewriting for Consistent Query Answering in Databases

For several reasons, databases may be inconsistent with respect to a set of integrity constraints. Those inconsistent states must be somehow resolved in order to be able to use the information stored in them. In some cases, data cleaning could be an approach to get rid of these inconsistencies. However, this may be a complex and nondeterministic process that may lead to the loss of potentially ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1989